I then extract the initialization vector (IV) into a byte array, block encrypt the clear data, and prefix the IV bytes to the encrypted data bytes.
随后我将初始向量(IV)抽取到字节数组,对明文数据进行块加密,并将iv字节置于加密的数据字节之前。
Symmetric algorithms require the creation of a key and an initialization vector (IV) that must be kept secret from anyone who should not decrypt your data.
对称演算法需要建立金钥和初始化向量 (IV),而这两者必须对任何不应解密您资料的人保密。
应用推荐